import request from '@/utils/request'

export const loginApi = (data) => {
  return request.post('/auth/login', data)
}

// 发送请求
export const getUserInfoApi = () => {
  return request.get('/auth/currentUser')
}
